var SN_Chart = {
	getChart_scrollline2d : function(p, categories, dataset) {
		var chart = {
				"caption" : p.caption ,
				"subCaption" : p.subCaption ,
				"xAxisName" : p.xAxisName ,
				"yAxisName" : p.yAxisName ,
				"showValues" : "0" ,
			//	"numberPrefix" : p.numberPrefix ,
				//"numberSuffix" : p.numberSuffix ,
				"showBorder" : "0" ,
				"showShadow" : "0" ,
				"bgColor" : "#ffffff" ,
				// "paletteColors": "#008ee4",
				"paletteColors" : "#AA0000,#82AAF0,#1aaf5d" ,
				"xAxisNamePadding" : 12 ,
				"showCanvasBorder" : "0" ,
				"showAxisLines" : "0" ,
				"showAlternateHGridColor" : "0" ,
				"divlineAlpha" : "100" ,
				"formatNumberScale" : 0 ,
				"divlineThickness" : "1" ,
				"divLineIsDashed" : "1" ,
				"divLineDashLen" : "1" ,
				"divLineGapLen" : "1" ,
				"lineThickness" : "3" ,
				"flatScrollBars" : "1" ,
				"scrollheight" : "10" ,
				"numVisiblePlot" : "12" ,
				"showHoverEffect" : "0" ,
				"canvasbottommargin" : "52" ,
				"showValues" : "0" ,
				//Cosmetics
				"baseFontColor" : "#333333" ,
				"baseFont" : "Helvetica Neue,Arial" ,
				"captionFontSize" : "14" ,
				"subcaptionFontSize" : "14" ,
				"subcaptionFontBold" : "0" ,
				"showBorder" : "0" ,
				"bgColor" : "#ffffff" ,
				"showShadow" : "0" ,
				"canvasBgColor" : "#ffffff" ,
				"canvasBorderAlpha" : "0" ,
				"divlineAlpha" : "100" ,
				"divlineColor" : "#999999" ,
				"divlineThickness" : "1" ,
				"divLineIsDashed" : "1" ,
				"divLineDashLen" : "1" ,
				"divLineGapLen" : "1" ,
				"usePlotGradientColor" : "0" ,
				"showplotborder" : "0" ,
				"showXAxisLine" : "1" ,
				"xAxisLineThickness" : "1" ,
				"xAxisLineColor" : "#999999" ,
				"showAlternateHGridColor" : "0" ,
				"exportEnabled" : "1" ,
				"exportFormats" : "PNG=导出"
		};
		var fusionCharts = new FusionCharts({
				type : 'scrollline2d' ,
				dataFormat : 'json' ,
				renderAt : p.renderAt ,
				width : '100%' ,
				height : '100%' ,
				dataSource : {
						"chart" : chart ,
						"categories" : categories ,
						"dataset" : dataset
				}
		}).render();
		return fusionCharts;
	}
}
